


class A1():

    def add1(self):
        arr = [1,2,3,4,5]
        self.add2(arr)
        print(arr)

    def add2(self,arr):
        item = arr[0]
        arr[0] = arr[1]
        arr[1] = item

A = A1()
A.add1()